//
//  BaseViewController.h
//  showzhu
//
//  Created by mac on 15/8/14.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#define screenWith [UIScreen mainScreen].bounds.size.width
#define screenHeight [UIScreen mainScreen].bounds.size.height

@interface BaseViewController : UIViewController

@property(strong,nonatomic)UIView *topBar;
@property(strong,nonatomic) UILabel *titleLabel;
@property(strong,nonatomic) UIButton *backButton;

- (void)clickedBackButton:(UIButton *)sender;

//点击重试按钮
- (void)clickedRetyButton;
- (void) shakeToShow:(UIView*)aView;//设置颜色

- (UIColor *) colorWithHexString: (NSString *)color withAlpha:(double)alpha;
//- (void)endHud;
//- (void)startHud;
- (void)waringAction:(NSString *)string;

//- (NSString *)nsstring_Joining_Together:(NSString *)string;
@end
